GtkPlacesSidebar: do not unref mount
authorAlban Browaeys <prahal@yahoo.com>
Fri, 24 May 2013 23:05:13 +0000 (01:05 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 26 May 2013 04:03:13 +0000 (00:03 -0400)
commitb08fe39cd8fbe929e1135e348258ff5f2c898750
tree24c013e6137cbc94140739fc080938e33845c339
parentfc1ff402969b207ca03f0810f358a7ed02307fa6
GtkPlacesSidebar: do not unref mount

Do not unref mount has we grabbed its pointer without taking
a reference.
Otherwise the following call to g_list_free_full on network_mounts
frees it a second time. Segfault in nautilus ensue.

https://bugzilla.gnome.org/show_bug.cgi?id=700979
gtk/gtkplacessidebar.c